home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts44-07
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: Borland App Expert "Text Editor" Question
- Date: Fri, 02 Feb 96 18:56:02 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4etme4$7s1@sam.inforamp.net>
- References: <4eenp5$7l2@knot.queensu.ca>
- NNTP-Posting-Host: ts44-07.tor.inforamp.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <4eenp5$7l2@knot.queensu.ca>,
- 3jca4@qlink.queensu.ca (John Adams) wrote:
- >As a start, I used BCW 4.5's App Expert to build a standard MDI "text
- >editor". Now I need to access the text contained in one of the text
- >windows, and copy it into another buffer for processing.
- >
- >Is there a pointer to the text buffer I can use, or a member
- >function?
- >
- >Thanks
- >Geoff
- >
-
- Assuming you are using the TEditView class or something similar.
- This class has following methods inherited from TEdit that are interesting in
- your case GetLine, GetNumLines, GetSubText, etc.
- Also inherited from TStatic is the function GetText.
- I've always used them to perform such operations.
-
- Agrivar
-